package quickSort;

public class LessThanSorterStarted<T extends Comparable<? super T>> extends QuickSorterState<T>{

	private final QuickSorter<T> lessThanSorter;

	public LessThanSorterStarted(final QuickSorter<T> lessSorter) {
		this.lessThanSorter = lessSorter;
	}

	public QuickSorter<T> getLessThanSorter() {
		return lessThanSorter;
	}
	
	@Override
	public void accept(final QuickSortStateVisitor<T> quickSortStateVisitor) {
		quickSortStateVisitor.visit(this);
	}

}
